<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>主页 - 问题管理</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        body { 
            width: 360px; 
            height: 640px; 
            margin: 0; 
            overflow-y: auto;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
        }
    </style>
</head>
<body class="bg-gray-50">
    <!-- Header -->
    <div class="bg-gradient-to-r from-blue-500 to-blue-600 text-white p-4 sticky top-0 z-10">
        <div class="flex justify-between items-center mb-3">
            <h1 class="text-xl font-bold">问题管理</h1>
            <button class="p-2"><i class="fas fa-bell"></i></button>
        </div>
        <div class="bg-white/20 rounded-lg p-2 flex items-center">
            <i class="fas fa-search mr-2"></i>
            <input type="text" placeholder="搜索问题..." class="bg-transparent border-none outline-none text-white placeholder-white/70 flex-1">
        </div>
    </div>

    <!-- Quick Stats -->
    <div class="grid grid-cols-3 gap-2 p-4">
        <div class="bg-white rounded-lg p-3 shadow-sm text-center">
            <div class="text-2xl font-bold text-red-500">5</div>
            <div class="text-xs text-gray-600 mt-1">逾期</div>
        </div>
        <div class="bg-white rounded-lg p-3 shadow-sm text-center">
            <div class="text-2xl font-bold text-orange-500">12</div>
            <div class="text-xs text-gray-600 mt-1">今日到期</div>
        </div>
        <div class="bg-white rounded-lg p-3 shadow-sm text-center">
            <div class="text-2xl font-bold text-blue-500">8</div>
            <div class="text-xs text-gray-600 mt-1">处理中</div>
        </div>
    </div>

    <!-- Today's Tasks -->
    <div class="px-4 pb-4">
        <div class="flex justify-between items-center mb-3">
            <h2 class="font-bold text-gray-800">今日任务</h2>
            <a href="#" class="text-blue-500 text-sm">查看全部 <i class="fas fa-chevron-right text-xs"></i></a>
        </div>
        
        <!-- Task Card 1 -->
        <div class="bg-white rounded-lg p-4 mb-3 shadow-sm border-l-4 border-red-500">
            <div class="flex justify-between items-start mb-2">
                <h3 class="font-semibold text-gray-800 flex-1">修复登录页面验证码显示问题</h3>
                <span class="bg-red-100 text-red-600 text-xs px-2 py-1 rounded">P0</span>
            </div>
            <p class="text-sm text-gray-600 mb-2">用户反馈验证码图片无法加载，影响登录流程</p>
            <div class="flex justify-between items-center text-xs text-gray-500">
                <span><i class="far fa-clock mr-1"></i>今天 18:00</span>
                <span class="bg-blue-100 text-blue-600 px-2 py-1 rounded">工作</span>
            </div>
        </div>

        <!-- Task Card 2 -->
        <div class="bg-white rounded-lg p-4 mb-3 shadow-sm border-l-4 border-orange-500">
            <div class="flex justify-between items-start mb-2">
                <h3 class="font-semibold text-gray-800 flex-1">优化数据库查询性能</h3>
                <span class="bg-orange-100 text-orange-600 text-xs px-2 py-1 rounded">P1</span>
            </div>
            <p class="text-sm text-gray-600 mb-2">用户列表加载速度慢，需要添加索引</p>
            <div class="flex justify-between items-center text-xs text-gray-500">
                <span><i class="far fa-clock mr-1"></i>今天 20:00</span>
                <span class="bg-green-100 text-green-600 px-2 py-1 rounded">学习</span>
            </div>
        </div>

        <!-- Task Card 3 -->
        <div class="bg-white rounded-lg p-4 mb-3 shadow-sm border-l-4 border-blue-500">
            <div class="flex justify-between items-start mb-2">
                <h3 class="font-semibold text-gray-800 flex-1">学习 React Hooks 最佳实践</h3>
                <span class="bg-blue-100 text-blue-600 text-xs px-2 py-1 rounded">P2</span>
            </div>
            <p class="text-sm text-gray-600 mb-2">阅读官方文档和社区最佳实践文章</p>
            <div class="flex justify-between items-center text-xs text-gray-500">
                <span><i class="far fa-clock mr-1"></i>今天 22:00</span>
                <span class="bg-green-100 text-green-600 px-2 py-1 rounded">学习</span>
            </div>
        </div>
    </div>

    <!-- Inbox -->
    <div class="px-4 pb-20">
        <div class="flex justify-between items-center mb-3">
            <h2 class="font-bold text-gray-800">收集箱 <span class="text-sm text-gray-500">(3)</span></h2>
            <a href="#" class="text-blue-500 text-sm">整理 <i class="fas fa-chevron-right text-xs"></i></a>
        </div>
        
        <div class="bg-white rounded-lg p-4 mb-2 shadow-sm">
            <h3 class="font-semibold text-gray-800 mb-1">研究微服务架构设计模式</h3>
            <p class="text-xs text-gray-500"><i class="far fa-calendar mr-1"></i>2小时前</p>
        </div>
        
        <div class="bg-white rounded-lg p-4 mb-2 shadow-sm">
            <h3 class="font-semibold text-gray-800 mb-1">整理本周工作总结</h3>
            <p class="text-xs text-gray-500"><i class="far fa-calendar mr-1"></i>5小时前</p>
        </div>
    </div>

    <!-- FAB -->
    <button class="fixed bottom-20 right-4 w-14 h-14 bg-blue-500 text-white rounded-full shadow-lg flex items-center justify-center text-2xl hover:bg-blue-600 transition">
        <i class="fas fa-plus"></i>
    </button>

    <!-- Bottom Navigation -->
    <div class="fixed bottom-0 left-0 right-0 bg-white border-t border-gray-200 flex justify-around py-2">
        <a href="#" class="flex flex-col items-center text-blue-500 py-1">
            <i class="fas fa-home text-xl mb-1"></i>
            <span class="text-xs">主页</span>
        </a>
        <a href="#" class="flex flex-col items-center text-gray-400 py-1">
            <i class="fas fa-tasks text-xl mb-1"></i>
            <span class="text-xs">任务</span>
        </a>
        <a href="#" class="flex flex-col items-center text-gray-400 py-1">
            <i class="fas fa-inbox text-xl mb-1"></i>
            <span class="text-xs">收集</span>
        </a>
        <a href="#" class="flex flex-col items-center text-gray-400 py-1">
            <i class="fas fa-book text-xl mb-1"></i>
            <span class="text-xs">知识</span>
        </a>
        <a href="#" class="flex flex-col items-center text-gray-400 py-1">
            <i class="fas fa-user text-xl mb-1"></i>
            <span class="text-xs">我</span>
        </a>
    </div>
</body>
</html>
